package kr.hkit.myframework;

import java.sql.Connection;

import kr.hkit.myframework.db.ConnectionFactory;
import kr.hkit.myframework.db.DBProperties;
//접속정보가 맞는지 확인하려고 
public class TestMain {
	public static void main(String[] args) {
		String filePath="dbcon.xml";
		String driver= "com.mysql.jdbc.Driver";
		String url="jdbc:mysql://localhost:3306/mysql_erp";
		String user="root";
		String password="1111";
		DBProperties.savePropertis(filePath,driver,url,user,password);
		DBProperties.prnProperties(DBProperties.loProperties(filePath));
		Connection con= ConnectionFactory.getConnection();//라이브러리 추가(build path)
	}
}
